#ifndef ADDBOOKMARKDIALOG_H
#define ADDBOOKMARKDIALOG_H

#include <QDialog>
#include <QString>

#include "ui_addbookmarkdialog.h"

class BookmarksManager;
class AddBookmarkProxyModel;

class AddBookmarkDialog : public QDialog, public Ui_AddBookmarkDialog
{
    Q_OBJECT

public:
    AddBookmarkDialog(const QString &url, const QString &title, const QString& default_folder , BookmarksManager *bookmarkManager, QWidget *parent = 0);
    void acceptDefaultLocation();

private slots:
    void accept();

private:
    QString m_url;
    QString m_default_folder;
    BookmarksManager *m_bookmarksManager;
    AddBookmarkProxyModel *m_proxyModel;
};

#endif // ADDBOOKMARKDIALOG_H
